<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    {% block title %}
        <title>base</title>
    {% endblock %}
</head>
<body>
    {% block name %}
        <h1>NAME</h1>
    {% endblock %}
    {# 使用block 块声明子类可以继承并修改的部分 #}
    {% block content %}
    {% endblock %}
</body>
</html>